import React from 'react';
import Constants from '../../common/Constants';

import BaseAction from '../common/BaseAction';

export default class QuanziRequestEnterQunAciton extends BaseAction {
  constructor(props) {
    super(props);

    this.moduleType = Constants.MODULE_TYPE.QUAN_ZI;
    this.name = "QuanziRequestEnterQunAciton";
  }

  finish(data, isSucceed) {
    if(isSucceed) {
      this.callFinishForEnterQun && this.callFinishForEnterQun();
      viewStatus = 3;
      this.caller.setState({
        viewStatus: viewStatus,
        enterSuccess:true,
      })
    }
  }
}
